package org.spring.springboot.service;

import org.spring.springboot.domain.Category;

import java.util.List;

/**
 * 栏目分类 DAO 接口类
 *
 * Created by 赵新国 on 07/02/2017.
 */
public interface CategoryService {

    List<Category> findAllCategory();

    Long saveCategory(Category category);

    Category findCategory(Integer id);

    Category getTreeNodes(Integer id);

    Category getCategoryById(Integer id);
}
